package org.example.minebackend.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecipeEntry {
    private int id;
    private String name;
    private String displayImage;
    private String ingredients;
    // 防止将O返回给前端是变成o
    @JsonProperty("nOfCollections")
    private int nOfCollections;
}
